Problem Note 61126: "ERROR: duplicate key value violates unique constraint" might occur when you edit a SAS® Risk and Finance Workbench project that contains a package
In SAS Risk and Finance Workbench, changing the date, name, or description in a project might cause an error like the following:
ERROR: duplicate key value violates unique constraint "sheet_definition_project_definition_sk_sheet_template_sk_key"
Detail: Key (project_definition_sk, sheet_template_sk)=(24, 144) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "sheet_definition_project_definition_sk_sheet_template_sk_key"
Detail: Key (project_definition_sk, sheet_template_sk)=(24, 144) already exists.
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:245)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:605)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:818)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:840)
at com.sas.stress.rest.services.ConfigService.createSheet(ConfigService.java:1214)
at com.sas.stress.rest.services.ConfigService.createSheets(ConfigService.java:1164)
at com.sas.stress.rest.services.ConfigService.updateProject(ConfigService.java:365)
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk and Finance Workbench | Microsoft® Windows® for x64 | 2.3 | 3.1 | 9.4 TS1M4 | 9.4 TS1M5 |
Linux for x64 | 2.3 | 3.1 | 9.4 TS1M4 | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
In SAS Risk and Finance Workbench, if you edit a project that contains a package and change the date, name, description, and so on, an error is generated.
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Financial Analysis
|
Date Modified: | 2017-09-22 08:34:49 |
Date Created: | 2017-09-20 13:23:31 |